﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="TeachingAssistantMainScreen.aspx.cs" Inherits="METU_CMT.TeachingAssistantMainScreen" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Table ID="Table1" runat="server" Width="100%" CssClass="chp-grid" Style="font-size: 15px;">
        <asp:TableRow ID="TableRow1" runat="server">
            <asp:TableCell ID="TableCell1" runat="server">
                <asp:Table ID="Table2" runat="server">
                    <asp:TableRow ID="TableRow2" runat="server">
                        <asp:TableCell ID="TableCell2" runat="server">
                            <asp:Image ID="imgTA" Width="150px" Height="150px" runat="server" />
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow ID="TableRow3" runat="server">
                        <asp:TableCell ID="TableCell3" runat="server">
                            <asp:LinkButton runat="server" ID="lnkBtnEditProfile" OnClick="OnLnkBtnEditProfileClicked"
                                Text="Edit Profile"></asp:LinkButton>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            </asp:TableCell>
            <asp:TableCell  runat="server">
                <asp:Table ID="Table3" runat="server">
                    <asp:TableRow ID="TableRow4" runat="server">
                        <asp:TableCell  runat="server">
                            Name Surname:
                        </asp:TableCell>
                        <asp:TableCell runat="server">
                            <asp:Label ID="lblNameSurname" runat="server"></asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow ID="TableRow5" runat="server">
                        <asp:TableCell runat="server">
                            User Name:
                        </asp:TableCell>
                        <asp:TableCell ID="TableCell5" runat="server">
                            <asp:Label ID="lblUserName" runat="server"></asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow ID="TableRow6" runat="server">
                        <asp:TableCell ID="TableCell9" runat="server">
                            E-Mail:
                        </asp:TableCell>
                        <asp:TableCell ID="TableCell6" runat="server">
                            <asp:Label ID="lblEMail" runat="server"></asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            </asp:TableCell>
            <asp:TableCell runat="server">
                <asp:Table ID="Table4" runat="server">
                    <asp:TableRow ID="TableRow7" runat="server">
                        <asp:TableCell runat="server">
                            <asp:GridView runat="server" ID="dtgCourses" CssClass="chp-grid" AutoGenerateColumns="false">
                                <Columns>
                                    <asp:TemplateField HeaderText="Course Name">
                                        <ItemTemplate>
                                            <asp:LinkButton runat="server" ID="lnkBtnCourseName" OnClick="OnLnkBtnCourseNameClicked"
                                                Text='<%# Bind("CourseName") %>'></asp:LinkButton>
                                            <asp:HiddenField ID="hfId" runat="server" Value='<%# Bind("CourseId") %>' />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Semester">
                                        <ItemTemplate>
                                            <asp:Label runat="server" ID="lblSemester" Text='<%# Bind("semester") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
</asp:Content>
